<h2>Thay đổi mật khẩu</h2>									

<div class="clear"></div> <!-- End .clear -->

<div class="content-box"><!-- Start Content Box -->				
<?php if($mes==""){
if(isset($error)) {
	?>
	<h3 style="color:red;margin:20px;"><?php echo $error; ?></h3><br/>
	<?php
}
?>			

<form action="<?php echo site_url('admincp/dochangepass'); ?>" class="form-changepass" method="post">			
		<p>
			<label>Tài khoản: <?php echo $user; ?></label>
		</p>
		<div class="clear"></div>
		<p>
			<label>Mật khẩu</label>
			<input name="password" class="text-input" type="password" />
			<input name="email" class="text-input" type="hidden" value="<?php echo $user; ?>"/>
			<input name="id" class="text-input" type="hidden" value="<?php echo $id; ?>"/>
		</p>
		<div class="clear"></div>										
		<p>
			<input class="button" type="submit" value="Đổi password" />
		</p>					
	</form>     
<?php }else{
	?>
	<h3 style="color:red;margin:20px;"><?php echo $mes; ?></h3><br/>
	<a style="margin: 20px;" href="<?php echo site_url("admincp/users")?>">Quay về trang quản lý thành viên</a>
<?php } ?>												
</div> <!-- End .content-box -->